Fix the tree branch stylesheet selector

Tree branch stylesheet should only apply to the session tree,
not to the shortcuts settings tree and so on.