Cursor now moves to a more natural spot after insertLine replaces blank line