only render animated images if the image is indeed an animated gif. This reduces the odd warnings to almost zero