github edit: bug fix for undefined on no hit

fixes undefined ref when no voxel is within raycast

I am trying out the github edit/commit function, no local repo needed!

Can you please publish to npm? Thanks!!!