Added ability to play an animation at an offset.