Ensured the main view is resolved from the container.