Fix editor resizing.