ensure right resize event on editor is called, to redraw rulers if necessary