Fix gif loop