Adaptations to changes in MinSG/SceneManagement.