Fixed warning when compiling.

Fixed wrong height of keyboard when the device is in landscape.