Fixed the Auto rotate bugs. Huzzah