Fixed some framing issues when showing & hiding the keyboard.