Viewport moving with caret position removed