fix keybindings relying on caretPos