Fix the bug about animated scene.