fix ray picking at distances