Window frame iOS 8 fix