That's good to know, thanks. But I checked those, and I'm still having the same problem. I never add()ed that sprite before, so that's not it. For the persist property I added the following line after line 31 in Achievements.hx:
currentAchievement._icon.graphic.persist = true;
But that didn't seem to fix it. I'm still getting the same error.