Don't flicker when switching between background fullscreen mode and normal mode