### Godot version

4.2 RC2

### System information

Any

### Issue description

https://github.com/godotengine/godot/assets/61938263/42ed582f-7b87-424c-8d19-ba0650ead5aa

It should not be reset by pausing.

### Steps to reproduce

Pause AnimationPlaybackTrack

### Minimal reproduction project

N/A
root_motion_position = Vector3(0, 0, 0);
	root_motion_rotation = Quaternion(0, 0, 0, 1);
	root_motion_scale = Vector3(0, 0, 0);
	root_motion_position_accumulator = Vector3(0, 0, 0);
	root_motion_rotation_accumulator = Quaternion(0, 0, 0, 1);
	root_motion_scale_accumulator = Vector3(1, 1, 1);
	if (!cache_valid) {
		if (!_update_caches()) {
			return;
		}
	}
	
	for (const KeyValue<NodePath, TrackCache *> &K : track_cache) {
		TrackCache *track = K.value;
		track->total_weight = 0.0;
		switch (track->type) {
			case Animation::TYPE_POSITION_3D: {
				TrackCacheTransform *t = static_cast<TrackCacheTransform *>(track);
				if (track->root_motion) {
					root_motion_cache.loc = Vector3(0, 0, 0);
					root_motion_cache.rot = Quaternion(0, 0, 0, 1);
					root_motion_cache.scale = Vector3(1, 1, 1);
				}
				t->loc = t->init_loc;
				t->rot = t->init_rot;
				t->scale = t->init_scale;