TY!! Yeah, I figured out that bug a bit too late to fix it. It happens because the potion icons get sorted on the shelf but the index in the list of items that the icon corresponds to doesn't on first load, so if I didn't put them in the right order in the level data then they have mismatched IDs.