Fix Gallery GIF animation