fix context menu not showing on first click