Fix issue on iOS when changing from portrait to landscape and vice versa (the viewport is not total with)