Fix small bug when using fullscreen