caret set in end, when mouse move