@Override
    public void solidify() {
        solidifying = true;

        subComponents = new GUIComponent[initSubComponents.size()];
        for (int i = 0; i < initSubComponents.size(); i++) {
            subComponents[i] = initSubComponents.get(i);
        }

        for (GUIComponent subComponent : subComponents) {
            subComponent.solidify();
        }
        if (boundsComponent != null) {
            boundsComponent.solidify();
        }
        super.solidify();

        initSubComponents.clear();

        isNewGroupBounds = true;

        solidifying = false;
        solidified = true;
    }