Fix random math animation