MDL-41716 atto - Fix resizing inconsistencies between editor modes