I have the horizontal menu and the context menu on the same page. On the first right-click for the context menu, the x,y are corrects

, but on the second right-click, the menu open on the x,y of the first right-click

. How do I open on the correct x,y every time?
Thanks.