Added onload event to scene.