Fix raytracing reach distance