Fix bugs with SpritePacks and functions that remove sprites being called from CallOnAllSprites