Fixed animation handler issue

Forgot to push code before submission