Fixed another problem in the SceneRegistry (#33).