Fixed fullscreen state issue.