fixed issues with document box item borders