fix getting keyboardView for iOS 8