Fixed bug in scene.