Fix scrolling in editor.