Fix flash full screen problem