Structure Panel: Can't collapse section when element deeper in the tree is selected