How can I modify the camera script so that poppercam is more accurate?

I have caves in my game. All created out of terrain. One issue is that it’s possible to see through walls sometimes by using shift lock and moving your camera a bit (Image below).

I think the issue is that popper cam just isn’t that accurate but I really can’t tell since Roblox’s camera modules are personally hard to work with. Anyone had any similar problem?