Handle moving into and out of fullscreen.