Fix crash on orientation change in activities with landscape layout

Well, fixes the issue so why not?