fix for getting regions properly in SpriteAnimationLoader