see my comment on the entire pull request. I'm not sure why we need to determine the intersection with the near plane to make this feature work.