Expose resizing to editor

This updates the editor's height/width when the editor component's height/width changes. This fixes the problem of tool-panels covering up the cursor position.

Closes #2578