Black screen when launching while phone is in portrait

I’m using unreal engine 4.8.3 to make an android game. On android 5.1.1, the game will freeze before it starts with a black screen if I’m holding the phone in portrait mode. It is the exact same problem as this. I posted this again as that thread seems dead. You can see a video in that thread which shows the behaviour. The bug does not occur in android kitkat.

Any help would be appreciated as my app is kind of useless as it is now.
Thanks.

If I create a new puzzle code project for mobile and package it for android I don’t have this problem. There are probably some settings I can change to fix this. Any suggestion on what I should do?

This was fixed in engine 4.9.

It was a mistake in the manifest file.