Fixes #8031 - container model initialization is no longer order-dependent