- 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 gfx::Rect& bounds) {
  if (!has_frame())
    return bounds;
  gfx::Rect content_bounds(bounds);
#if defined(OS_WIN)
  HWND hwnd = GetAcceleratedWidget();
  content_bounds.set_size(
      display::win::ScreenWin::DIPToScreenSize(hwnd, content_bounds.size()));
  RECT rect;
  SetRectEmpty(&rect);
  DWORD style = ::GetWindowLong(hwnd, GWL_STYLE);
  DWORD ex_style = ::GetWindowLong(hwnd, GWL_EXSTYLE);
  AdjustWindowRectEx(&rect, style, FALSE, ex_style);
  content_bounds.set_width(content_bounds.width() - (rect.right - rect.left));
  content_bounds.set_height(content_bounds.height() - (rect.bottom - rect.top));
  content_bounds.set_size(
      display::win::ScreenWin::ScreenToDIPSize(hwnd, content_bounds.size()));
#endif
  if (menu_bar_ && menu_bar_visible_) {
    content_bounds.set_y(content_bounds.y() + kMenuBarHeight);
    content_bounds.set_height(content_bounds.height() - kMenuBarHeight);
  }
  return content_bounds;
}
void NativeWindowViews::HandleKeyboardEvent(