Correct distance from camera plane to 3d object.