src: attempting to fix raycasting