fix #31866: Text selected while exporting to PDF remains highlighted