Use orientation from Window not application