editor is now centered correctly