image to GIF bug fix.