Patch to fix the visible pages