Fixed #5941: fixed a bug of some transitions that its orientation is incorrect

Fixed a bug of some transitions that its orientation is incorrect