How to stop mouseEvent on popup from passing to next component

I've searched through the archives but can't seem to find an answer to this. When I right-click to launch a context menu on one component the mouse click on the popup triggers a mousedown on the component under it. As you can see from the attached gif, every time I try to delete an anchor the mouse event is passed to the underlying component, thus triggering its popup menu. Strange thing is its a right mouse button click that is triggering the underlying menu, even though the last mouse click on the anhor menu was a left button click?

When people don't reply to messages on this list it usually means you're being a dumbass. Turns out I should have 'listener'ed more carefully to my mouse events.