issue #19905: fixed document box again