Fixed an angle bug