* 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
: window_(window),
      last_focused_view_tracker_(std::make_unique<views::ViewTracker>()) {
  set_owned_by_client();
}
RootView::~RootView() {}
void RootView::SetMenu(AtomMenuModel* menu_model) {
  if (menu_model == nullptr) {
    
    UnregisterAcceleratorsWithFocusManager();
    
    SetMenuBarVisibility(false);
    menu_bar_.reset();
    return;
  }
  RegisterAcceleratorsWithFocusManager(menu_model);
  
  if (!window_->has_frame())
    return;
  if (!menu_bar_) {
    menu_bar_.reset(new MenuBar(this));
    menu_bar_->set_owned_by_client();
    if (!menu_bar_autohide_)
      SetMenuBarVisibility(true);
  }
  menu_bar_->SetMenu(menu_model);
  Layout();
}
bool RootView::HasMenu() const {