Fix strange behaviour when clicking on hierarchy in DimensionList

When there are multiple hierarchies. Clicking on a hierarchy causes strange behaviour, because the click handler for levels is called.