Teleporting with rotation might twist your head
When opening the chat gui or inventory gui whilst being teleported with a x-Rotation will turn your head upside down (you won't stop even if the max. Rotation is reached).
When leaving the gui you will be resetted and face to the max. Rotation (straight up or down).