`setCursor` routinely failed to actually select the target link on destroy the link tools because the nodes passed to it were not in the DOM. This fixes that problem, which in turns has the effect of keeping the editor's toolbar in the sidebar on the website builder after link insertion. closes odoo/odoo#69525 X-original-commit: c8fa05813da82fd2b282721f3a86053b7b6661ba Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>