Fix raycasting bug, yayyy!