Fix memory leak

44B memory leak on animation
Merge pull request #1 from cazlar/patch-1

Fix memory leak