* 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/ui/views/root_view.cc
return menu_bar_autohide_;
}
void RootView::SetMenuBarVisibility(bool visible) {
  if (!window_->content_view() || !menu_bar_ || menu_bar_visible_ == visible)
    return;
  menu_bar_visible_ = visible;
  if (visible) {
    DCHECK_EQ(child_count(), 1);
    AddChildView(menu_bar_.get());
  } else {
    DCHECK_EQ(child_count(), 2);
    RemoveChildView(menu_bar_.get());
  }
  Layout();
}
bool RootView::IsMenuBarVisible() const {
  return menu_bar_visible_;
}
void RootView::HandleKeyEvent(const content::NativeWebKeyboardEvent& event) {
  if (!menu_bar_)
    return;
  
  if (menu_bar_visible_ && IsAltKey(event))
    menu_bar_->SetAcceleratorVisibility(event.GetType() ==
                                        blink::WebInputEvent::kRawKeyDown);
  
  if (event.GetType() == blink::WebInputEvent::kRawKeyDown &&
      !IsAltKey(event) && IsAltModifier(event)) {
    if (menu_bar_->HasAccelerator(event.windows_key_code)) {
      if (!menu_bar_visible_) {