adjusting cam_z to screen width and fov