Fix https://mantis.culture.fr/mantis/view.php?id=17849 loose focus when expanding nodes