Fix for Animation

Forgot about debugging code