fix bug when enter fullscreen mode on iOS8.