Compare using <= 0.0f instead of == 0.0f

Slightly more robust, in case the keyboard is ever positioned even
lower than the height of contextView.