For some weird reason `DGifCloseFile()` manipulates the animation data. Right now there's a quick fix in the `Animation` structure