Stupid hack to fix bug with UIPageViewController