Fixed editor mode setting on multi-editors.