Fix the display of the gif preview