Fixed the calculation of the keyboard frame for the LandscapeRight and UpsideDown orientations.