Fix screen flicker when starting in fullscreen