Flip for SkeletonAnimation, fixing memory leaks