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_web_contents.cc
if (guest_delegate_)
    guest_delegate_->SetSize(params);
}
bool WebContents::IsGuest() const {
  return type_ == WEB_VIEW;
}
bool WebContents::IsOffScreen() const {
#if defined(ENABLE_OSR)
  return type_ == OFF_SCREEN;
#else
  return false;
#endif
}
void WebContents::OnPaint(const gfx::Rect& dirty_rect, const SkBitmap& bitmap) {
  Emit("paint", dirty_rect, gfx::Image::CreateFrom1xBitmap(bitmap));
}
void WebContents::StartPainting() {
  if (!IsOffScreen())
    return;
#if defined(ENABLE_OSR)
  auto* osr_rwhv = static_cast<OffScreenRenderWidgetHostView*>(
      web_contents()->GetRenderWidgetHostView());
  if (osr_rwhv)
    osr_rwhv->SetPainting(true);
#endif
}
void WebContents::StopPainting() {