Raycasting fixed