Get MDI layout structure right