Fixed iOS fullscreen mode problems.