Distorted image after sleep

after waking my pc from sleep main monitor (connected to nvidia 4060) had distorted image for everything whereas secondary monitor (connected to motherboard with amd cpu that has integrated graphics) worked fine this happened in different applications and games

I assume it is some kind of one off event and it will be fixed after restart but not sure
and if you are curious lines on that images werent supposed to be broken like that below link to original image

upd disabling and reenabling display from settings / display & monitor / display configuration fixed issue without need to restart