cg_gunX, cg_gunY, cg_gunZ, r_znear: can you build a release with this variables unlocked?

The head model on HUD is in a small 3D scene. So that line you drew is likely the edge of the scene bounds not znear related. But yeah, it might be nice if it was fixed.