Fix ray-octree intersection, add debug ray visualisation