Fix the issue where the head rotation is incorrect