Fix issue with temp orientation and orientation being out of sync.