Don't crash on invalid SpriteAnimation, fixes #75