Animate sprites during game updates instead of on render.

Frame rate is independent of the update rate, so the old way didn't
make sense.