I using Context Menu with that had parent node and sub child


If I understood your situation correctly - it can’t be fixed.
The items of context menu expanded on mouseover, any click action couted as item selection - this behavior can’t be changed.