Fix display orientatino switching