Set initial keyboard height

Undefined keyboard height results in NaN when doing math operations on
it.

Change-Id: Ic27bf2f2611e7df95cccf04c4d5a64f9eaebbb64
Merge "Set initial keyboard height"