On some pathological pages, we can spend a lot of time and memory on composited scrolls which have height or width of zero. We can optimize these away.
<rdar://problem/115522255>