Fix a bug for the angle tolerance.