Fix comparaison error for animate?