Added support for animated GIFs as UIImage objects