* Electron version: 1.4.15
* Operating system: Windows 10

### Actual behavior

Height is oversized by exactly 8px consistently (taskbar is set to small icons).

![Alt](https://raw.githubusercontent.com/adi518/electron-frameless-maximize-test/master/issue.jpg)

### How to reproduce

https://github.com/adi518/electron-frameless-maximize-test
atom/browser/native_window_views.cc
window_type = "dialog";
    
    if (is_modal())
      state_atom_list.push_back(GetAtom("_NET_WM_STATE_MODAL"));
  }
  ui::SetAtomArrayProperty(GetAcceleratedWidget(), "_NET_WM_STATE", "ATOM",
                           state_atom_list);
  
  if (!window_type.empty())
    SetWindowType(GetAcceleratedWidget(), window_type);
#endif
  AddChildView(web_view_);
#if defined(OS_WIN)
  if (!has_frame()) {
    
    
    DWORD frame_style = WS_CAPTION;
    if (resizable_)
      frame_style |= WS_THICKFRAME;
    if (minimizable_)
      frame_style |= WS_MINIMIZEBOX;
    if (maximizable_)
      frame_style |= WS_MAXIMIZEBOX;
    
    if (!thick_frame_)
      frame_style &= ~(WS_THICKFRAME | WS_CAPTION);
    ::SetWindowLong(GetAcceleratedWidget(), GWL_STYLE, frame_style);
  }
  LONG ex_style = ::GetWindowLong(GetAcceleratedWidget(), GWL_EXSTYLE);