fixed crash bug on RayCast when a ray becomes zero lenght