Fixup EntityList

Still having some inermittent crashes when selecting stuff in the
TreeView after hiding/unhiding nodes, which I wasn't able to pin down
yet.
Fix the EntityList crash after hiding nodes and selecting stuff.