Modify rotate_x, cancel the rotation if it is negative