Use Orientation from Window not application class.

No match.