only update keyboardDeviceHeight if the keyboard isn't showing