- Electron version: `0.37.4`
- Operating system: Windows

When I maximize my [frameless](https://github.com/electron/electron/blob/master/docs/api/frameless-window.md) electron window a small part of the window in an unmaximized state is visible on a secondary monitor.

**Screenshot**
![electronbug](https://cloud.githubusercontent.com/assets/6634592/14762341/8849c728-09bb-11e6-85d8-de12db3fee2d.PNG)

You can visibly see the "line between the monitors" and you can see some really strange overhanging content that is over that line.

**Steps to reproduce**  
1. Open an electron app
2. Maximize the app on your secondary display
3. Look closely for the overflow onto your primary display

This might take a few times to trigger, it appears to do it about 70% of the time :confused: 

atom/browser/native_window_views.cc
const auto new_web_view_size = web_view_ ? web_view_->size() : gfx::Size();
  if (browser_view_) {
    const auto flags = static_cast<NativeBrowserViewViews*>(browser_view_)
                           ->GetAutoResizeFlags();
    int width_delta = 0;
    int height_delta = 0;
    if (flags & kAutoResizeWidth) {
      width_delta = new_web_view_size.width() - old_web_view_size.width();
    }
    if (flags & kAutoResizeHeight) {
      height_delta = new_web_view_size.height() - old_web_view_size.height();
    }
    auto* view = browser_view_->GetInspectableWebContentsView()->GetView();
    auto new_view_size = view->size();
    new_view_size.set_width(new_view_size.width() + width_delta);
    new_view_size.set_height(new_view_size.height() + height_delta);
    view->SetSize(new_view_size);
  }
}
gfx::Size NativeWindowViews::GetMinimumSize() {
  return NativeWindow::GetMinimumSize();
}
gfx::Size NativeWindowViews::GetMaximumSize() {
  return NativeWindow::GetMaximumSize();
}
bool NativeWindowViews::AcceleratorPressed(const ui::Accelerator& accelerator) {
  return accelerator_util::TriggerAcceleratorTableCommand(
      &accelerator_table_, accelerator);
}
void NativeWindowViews::RegisterAccelerators(AtomMenuModel* menu_model) {