Found this issue on a project, tested against the electron-quick-start and found the problem still exists.

Simply adding "frame: false" to the new BrowserWindow() call will cause it.
- Electron version: 0.37.5
- Operating system: Windows

![capture](https://cloud.githubusercontent.com/assets/5051169/14453254/a38c177c-008b-11e6-9e80-97c6a95c816e.PNG)

atom/browser/native_window.cc
return aspect_ratio_extraSize_;
}
void NativeWindow::SetAspectRatio(double aspect_ratio,
                                  const gfx::Size& extra_size) {
  aspect_ratio_ = aspect_ratio;
  aspect_ratio_extraSize_ = extra_size;
}
void NativeWindow::RequestToClosePage() {
  bool prevent_default = false;
  FOR_EACH_OBSERVER(NativeWindowObserver,
                    observers_,
                    WillCloseWindow(&prevent_default));
  if (prevent_default) {
    WindowList::WindowCloseCancelled(this);
    return;
  }
  
  
  
  
  if (window_unresposive_closure_.IsCancelled())
    ScheduleUnresponsiveEvent(5000);
  if (web_contents()->NeedToFireBeforeUnload())
    web_contents()->DispatchBeforeUnload(false);
  else
    web_contents()->Close();
}
void NativeWindow::CloseContents(content::WebContents* source) {