Make ray intersection more forgiving