fixed bug (wrong step size of raycaster)