fix firefox can't play animation