Raycasting correction

raycasting should be much more accurate now