Unity editor bugs the hell out when moving unity editor windows

When I try to move the hierarchy, animator, animation, project… (window) the unity editor freaks out and turns into black, the weird thing is that I can keep interacting with the windows, even click play and it works, but the unity editor (the graphic part) stops.

Is there a way to fix it?

Before moving it

After moving it


Resintall unity. Make sure you are on the latest version (not beta!)