Try to make caret moving stable