I don't think there's a direct method to obtain position of an item...

Maybe this would work : when you select an item by clicking, save the cursor position in a variable...and if you call context menu with the cursor away, then use the saved position (assuming you haven't selected anything else :-) )