Fixed bug with landscape-only apps.