* 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
#include "ui/views/controls/webview/webview.h"
#include "ui/views/widget/native_widget_private.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/client_view.h"
#include "ui/wm/core/shadow_types.h"
#include "ui/wm/core/window_util.h"
#if defined(USE_X11)
#include "atom/browser/browser.h"
#include "atom/browser/ui/views/frameless_view.h"
#include "atom/browser/ui/views/global_menu_bar_x11.h"
#include "atom/browser/ui/views/native_frame_view.h"
#include "atom/browser/ui/x/event_disabler.h"
#include "atom/browser/ui/x/window_state_watcher.h"
#include "atom/browser/ui/x/x_window_utils.h"
#include "base/strings/string_util.h"
#include "chrome/browser/ui/libgtkui/unity_service.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/x/x11_types.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h"
#include "ui/views/window/native_frame_view.h"
#elif defined(OS_WIN)
#include "atom/browser/ui/views/win_frame_view.h"
#include "atom/browser/ui/win/atom_desktop_native_widget_aura.h"
#include "atom/browser/ui/win/atom_desktop_window_tree_host_win.h"
#include "skia/ext/skia_utils_win.h"
#include "ui/base/win/shell.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/display/win/screen_win.h"
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"