Incorrect determining tree's root when rotate fixed