Make animateWorld work without sandbox code