More debugging of raycasting :(