iOS8 orientation issue

I have a iPhone game build in landscape mode, but sometimes when game shows products popup from store (using SkStoreProduct), the game renders in half of portrait screen. I attach an image illustrated this bug. Please help me fix this.

Could submit a bugreport (Help->Report a Bug) with your project and post the issue id here?