Fix #1597 "fr:box-select is not displayed correctly in PDF"