I think that's a known issue - this bug report from 2023 identified the same thing, but unfortunately for backwards compatibility reasons it proved too difficult to fix. There is a difference between the WebGL and WebGPU renderers with that effect, so you can either live with it (perhaps it's only cosmetic and doesn't matter), or you can disable WebGPU in your project's settings to always use the WebGL renderer so it always works consistently.