Unwanted ghosting effect with URP Camera

After configuring my project with the URP render pipeline, I encountered a weird problem with the camera. The camera doesn’t seem to clear the previous frames, thus creating some kind of trail behind moving objects. I tried changing the camera type to Skybox and solid color, but nothing worked (There is no Clear Flag in URP camera). I also disabled the 32-bit display buffer.

I created the project with 2D core template. My last project with the same settings didn’t have this kind of problem. Can anyone help me with this?