bluetooth keyboard fix

There was an issue when using a bluetooth keyboard during an RDP Session.

The view was incorrectly calculating the height of the keyboard when using a bluetooth keyboard resulting in a large black area.