Fix editor width on resize.