fix one more case of animaiton stutter

Fixes a case of stutter where the lastFrame is set to a value larger than the actual last frame of the animation. We were using the actual last frame as a hint to the animationLoop but then the server didn't have that hint so it was keeping it's loop moving forward. Stutter was caused when those two loops were out of sync in a manner that didn't have the same mod value for each other.