Fixed maximizing windiw at startup in MapEditor.