Hello folks,

Doing a right click on a flash object opens up a context menu as expected, but clicking on the entries has no effect. Can't change quality of a flash game for example.

It works fine in v1.7.x.
The attached .zip contains the newest pepper based flash plugin, a main.js and a package.json that might help you reproduce the issue.


System:
Win7 x64
Electron v1.8.x
Pepper Flash Plugin v26.0.0.151 x64
[flash-context-menu.zip](https://github.com/electron/electron/files/1285786/flash-context-menu.zip)

atom/browser/api/atom_api_menu_views.cc
#include "atom/browser/api/atom_api_menu_views.h"
#include "atom/browser/native_window_views.h"
#include "atom/browser/unresponsive_suppressor.h"
#include "content/public/browser/render_widget_host_view.h"
#include "ui/display/screen.h"
using views::MenuRunner;
namespace atom {
namespace api {
MenuViews::MenuViews(v8::Isolate* isolate, v8::Local<v8::Object> wrapper)
    : Menu(isolate, wrapper),
      weak_factory_(this) {
}
void MenuViews::PopupAt(Window* window, int x, int y, int positioning_item) {
  NativeWindow* native_window = static_cast<NativeWindow*>(window->window());
  if (!native_window)
    return;
  content::WebContents* web_contents = native_window->web_contents();
  if (!web_contents)
    return;
  content::RenderWidgetHostView* view = web_contents->GetRenderWidgetHostView();
  if (!view)
    return;
  
  gfx::Point location;
  if (x == -1 || y == -1) {