Do not break the selection after getCaretXY