Ensuring there are no weird useless keyframes at the end of the animation by adding a Total Length property