Sleep freezes window headers

this is a fairly small issue but It’s nonetheless annoying: whenever my computer comes out of sleep all the window headers are frozen. For instance, in firefox the header would be frozen on one tab and if I change tabs it still says the same thing. Seemingly the only issue I have, no idea what could be causing it.