PRD-5180 - Data loss when printing when using widow/orphans in deeply nested structures

Based on all the other changes, should this be box.getCachedHeight() ?