Added fix for flicker in fullscreen mode when focusing next/previous window