fix for animated gif resizing if imagick available on server