Fix crash when loading a project that hits a group box with 'collapse' set