Fix if logic under computedANgle.