[TIMOB-6493] Fixes takeScreenshot orientation on iOS 8