Editor maintains scroll and cursor state when dragging/zooming