Maybe this helps a bit:
All the handling for hover and so on is in the staticMeshComponent beause I want to handle all the components individually.
The base class is invisible and just handles the logic. It has a attribute baseNode. It is of the class node.
Each node can have [0 - 4] child nodes.
All the code from the question up there is inside the node class.
Would it help to give you all of the code to look at and maybe test?