Correct cursor position after select_to_begofline