Fix cursor position in empty indents