Display delays on a window update on 11.3

Sometimes when I open, close or move a window the screen doesn’t update for a couple of seconds.
Nothing on the screen moves during the delay.
I have noticed though that it happens a lot more frequently with Wine Programs.
Any ideas on how to fix it? It gets very annoying.