While creating a video player, I caught this shizzle:
And the main fact is: (by the way I'm using OS X Sierra) it happens only in Chromium browser after switching to other desktop. No such issue in Chrome, Opera, Safari and even Firefox (Firefox is very problematic about these things). How can I fix it?