typo
Now the animation group can be deleted without dangling pointers left