[Client] Fixed a minor timing issue in the animation framework