fix for issue #602 (FlxSprite curAnim becomes null after a loop)