Workaround for problem on iPad when app is started in landscape mode