Fix the bug that causes "set frame range" error on a scene that has no rigid body world.