Minor fix for animation