Improve caret.show() api
Maintain correct caret focus on keydown