In ccd12318, the parasite to remember if the GIF was an animation did not actually store the number of loops. This patch fixes that.