Fixed screen size bug for iOS 7.