Check for `"open" in node` instead of `instanceof nsIMenuBoxObject`
(#28)