improved fullscreen mode performance