Added fullscreen handling