Window mod frozen screen in one frame

Hi i need help here please
Whenever i want to play game in window mod ether borderless or regular game gets frozen on one frame but i can hear in game sounds.and character “movement”(i can hear its movement).And when i do alt+tab from game and then go back screen is updated but still frozen.Fullscreen works perfectly fine.Is there any solution for this?
Thanks