fixed Scene::addObserver reference to temporary