* Output of `node_modules/.bin/electron --version`: v3.0.10
* Operating System (Platform and Version): Windows 10 x64 (1803  17134.345)
* Output of `node_modules/.bin/electron --version` on last known working Electron version (if applicable):
v3.0.10
**Expected Behavior**
I would like to see the window move across the screen.

**Actual behavior**
The window moves around the screen. But first, the height of the window decreases.

**To Reproduce**
Write simple program that contains code:
`
mainWindow = new BrowserWindow({ width: 370,
		height: 270,
		x: 100,
		y: 100,
		resizable: false,
	 });
`
Start app. Grab the window with the mouse for its title and drag across the screen.

**Additional Information**
This error occurs when explicitly specifying the x, y coordinates of the window and the option "resizable: false".

atom/browser/native_window_views.cc
root_view_->SetAutoHideMenuBar(auto_hide);
}
bool NativeWindowViews::IsMenuBarAutoHide() {
  return root_view_->IsMenuBarAutoHide();
}
void NativeWindowViews::SetMenuBarVisibility(bool visible) {
  root_view_->SetMenuBarVisibility(visible);
}
bool NativeWindowViews::IsMenuBarVisible() {
  return root_view_->IsMenuBarVisible();
}
void NativeWindowViews::SetVisibleOnAllWorkspaces(bool visible,
                                                  bool visibleOnFullScreen) {
  widget()->SetVisibleOnAllWorkspaces(visible);
}
bool NativeWindowViews::IsVisibleOnAllWorkspaces() {
#if defined(USE_X11)
  
  
  XAtom sticky_atom = GetAtom("_NET_WM_STATE_STICKY");
  std::vector<XAtom> wm_states;
  ui::GetAtomArrayProperty(GetAcceleratedWidget(), "_NET_WM_STATE", &wm_states);
  return std::find(wm_states.begin(), wm_states.end(), sticky_atom) !=
         wm_states.end();
#endif
  return false;
}
gfx::AcceleratedWidget NativeWindowViews::GetAcceleratedWidget() const {