Prevent triggering context menu item right after showing the context menu