### Godot version

v4.1.rc1.official [1f9e540f1]

### System information

Godot v4.1.rc1 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 960 (NVIDIA; 31.0.15.3623) - AMD FX(tm)-6300 Six-Core Processor (6 Threads)

### Issue description

When damping is used and a particle is fully stopped, it gets new shape, color, angular velocity, etc. It looks like it's being recreated from scratch.

### Steps to reproduce

1. Run the project.
2. Open block_hit_particles.tscn.

### Minimal reproduction project

[Bugged Particles.zip](https://github.com/godotengine/godot/files/11887286/Bugged.Particles.zip)

shader_map.erase(current_key);
		}
	}
	current_key = mk;
	if (shader_map.has(mk)) {
		RS::get_singleton()->material_set_shader(_get_material(), shader_map[mk].shader);
		shader_map[mk].users++;
		return;
	}
	
	
	String code = "// NOTE: Shader automatically converted from " VERSION_NAME " " VERSION_FULL_CONFIG "'s ParticleProcessMaterial.\n\n";
	code += "shader_type particles;\n";
	if (collision_scale) {
		code += "render_mode collision_use_scale;\n";
	}
	code += "uniform vec3 direction;\n";
	code += "uniform float spread;\n";
	code += "uniform float flatness;\n";
	code += "uniform float initial_linear_velocity_min;\n";
	code += "uniform float initial_angle_min;\n";
	code += "uniform float angular_velocity_min;\n";
	code += "uniform float orbit_velocity_min;\n";
	code += "uniform float linear_accel_min;\n";
	code += "uniform float radial_accel_min;\n";
	code += "uniform float tangent_accel_min;\n";
	code += "uniform float damping_min;\n";
	code += "uniform float scale_min;\n";
	code += "uniform float hue_variation_min;\n";
	code += "uniform float anim_speed_min;\n";