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 (IsOffScreen()) {
#if defined(ENABLE_OSR)
    auto* osr_rwhv = static_cast<OffScreenRenderWidgetHostView*>(
      web_contents()->GetRenderWidgetHostView());
    if (osr_rwhv)
      osr_rwhv->Invalidate();
#endif
  } else {
    const auto window = owner_window();
    if (window)
      window->Invalidate();
  }
}
gfx::Size WebContents::GetSizeForNewRenderView(
    content::WebContents* wc) const {
  if (IsOffScreen() && wc == web_contents()) {
    auto relay = NativeWindowRelay::FromWebContents(web_contents());
    if (relay) {
      return relay->window->GetSize();
    }
  }
  return gfx::Size();
}
void WebContents::SetZoomLevel(double level) {