Update caret position when clicking in the input editor