Tweaks to keyboard height adjustment.