From time to time I get my OS X bugging up like this:

I tried restarting Finder, Dock or WindowServer processes to no avail. Has anyone encountered this? May be there is a service or an app that I can relaunch to fix this? So far only restart helped. I didn't try the login/logout flow, but I'm pretty sure it would work too. So I wanted to know if there is a way to fix this while logged in.