Local fog volume causing weird black line

Hello,

I recently added fog to my 2D game to make it look better and it’s causing this weird line on my camera. I have no idea what it is nor what’s causing it other than that it’s the fog. Here is a screenshot

The white fog on the top right doesn’t cause any problems - I removed it and nothing changed. I think its the main black fog causing the problem. When my camera isn’t in the fog, the line doesn’t exist.

There’s also an exponential height fog in the background (the reddish color in the background) so I don’t know if that affects it.

Thank you