Ensure that all tail function keyframes are called before looping.