issue #19868: Fix document box problem.