Problem with animation period update logic.