def getItemIdInto(self):
        itemIdOver = self.getItemIdOver()

        if (self.areChildrenAllowed(itemIdOver)
                and self.getDropLocation() == VerticalDropLocation.MIDDLE):
            return itemIdOver

        return self.getParent(itemIdOver)
If the event is on a node that can not have children (see
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tree.py/TreeTargetDetails.getItemIdInto