Fix firefox from closing vertex menu immediately after opening

When dom.contextmenu.event.enabled = true

Resolves #234