This is intended because setAppSize() always resizes the app against statusbar of portrait-primary. We can make use of the original size of the app here.