* Electron version: 1.4.6
* Operating system: Windows 10

### Expected behavior

After minimizing the window it should restore to the same size.

### Actual behavior

After minimizing the window it is restored to a larger width.

### How to reproduce

The issue started with Electron 1.4.5 and will only appear when you use `minWidth` property in browser window config. As an example:

```javascript
const windowConfig = {
	title: "Test app",
	width: 800,
	height: 600,
	minWidth: 800
};

const mainWindow = new BrowserWindow(windowConfig);
```

atom/browser/native_window_views.cc
wm::SetShadowType(
      GetNativeWindow(),
      has_shadow ? wm::SHADOW_TYPE_RECTANGULAR : wm::SHADOW_TYPE_NONE);
}
bool NativeWindowViews::HasShadow() {
  return wm::GetShadowType(GetNativeWindow()) != wm::SHADOW_TYPE_NONE;
}
void NativeWindowViews::SetIgnoreMouseEvents(bool ignore) {
#if defined(OS_WIN)
  LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);
  if (ignore)
    ex_style |= (WS_EX_TRANSPARENT | WS_EX_LAYERED);
  else
    ex_style &= ~(WS_EX_TRANSPARENT | WS_EX_LAYERED);
  ::SetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE, ex_style);
#elif defined(USE_X11)
  if (ignore) {
    XRectangle r = {0, 0, 1, 1};
    XShapeCombineRectangles(gfx::GetXDisplay(), GetAcceleratedWidget(),
                            ShapeInput, 0, 0, &r, 1, ShapeSet, YXBanded);
  } else {
    XShapeCombineMask(gfx::GetXDisplay(), GetAcceleratedWidget(),
                      ShapeInput, 0, 0, None, ShapeSet);
  }
#endif
}
void NativeWindowViews::SetContentProtection(bool enable) {