Fix logical error for dli animation duration