Reserve caret position on remask