Selection range restore on spellcheck fix