Fix bug in PageViewController where it fetches wrong pages