Steam overlay still visible "ouside of screen"

Hi,

Don’t really know how to properly describe my issue but I’ve got some images that might clear things up.
So my issue is that what’s outside of my screen (image below) doesn’t get refreshed, so when something with the Steam overlay pops up it never disappears.

Is there a way to refresh what’s outside of the screen?

When you enter a new scene it gets restored. Could it have anything to do with the canvas?

Seems to be a common problem with the steam overlay and Unity games. I just hit shift+tab a couple of times and it goes away.

No idea what the underlying problem is or how to fix it.

I found a way to fix it. If I set the resolution then it gets restored. So when the Steam Overlay (shift + tab) is removed I wait 0.3 seconds then I do a Screen.SetResolution(x,y).

This “refreshes” the screen the way I want it. Not the best solution but it’s as close as I can get now.