Fix call to animate() on every frame