FormEditor: fix layout when resizing (horizontal scrollbars were hidden)