Fixed some orientation issues.