Fix bug in context menu activation code.