Prevent crash in UsesWidget by keeping the layout items in bounds
UsesWidgetCollector::processUses appears to want to "pin" widgets to the end, however the mechanism for this no longer seems to work in Qt6.
UsesWidgetCollector::processUses appears to want to "pin" widgets to the end, however the mechanism for this no longer seems to work in Qt6.