I am learning how freestyle works and I have this issue where lines that should't be visible (they are behind solid objects) are showing in render. I tried playing with some settings in Freestyle and Freestyle line set but couldn't fix it. I found out that objects further from the camera render fine, does it have to do something with the camera settings?