Prevent contextmenu events on popups from falling thru to map

Prevents context menu clicks on a popup from propagating to the map.

Debug test formed from @taylorhutchison example.

References #1730