fix erroneous screen size on iOS 8