Fix bug on Logging HeadOrientation