Fix wrapping pages with outlines.