<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  10.1.2
* **Operating System:**
  Windows 10 (2004)
* **Last Known Working Electron version:**
  10.1.0

### Expected Behavior
mouse events aligned to the element

### Actual Behavior
elements with 'drag' and 'no-drag' inside a 'drag' region are 'vertically unaligned' by 8 pixels for mouse hover, click, etc when window is maximized

### To Reproduce
https://gist.github.com/rafma0/e7bc9ad86c17e79b25130b4399d72506
double click any appbar to maximize
move your mouse to the bottom of any button, it wont change color until you go 8 pixels up
you can also click and drag from 8 pixels outside the top of the middle or bottom appbar and it will unmaximize

<!--
For bugs that can be encapsulated in a small experiment, you can use Electron Fiddle (https://github.com/electron/fiddle) to publish your example to a GitHub Gist and link it your bug report.
-->

<!--
If Fiddle is insufficient to produce an example, please provide an example REPOSITORY that can be cloned and run. You can fork electron-quick-start (https://github.com/electron/electron-quick-start) and include a link to the branch with your changes.
-->


shell/browser/ui/win/electron_desktop_window_tree_host_win.cc
gfx::Insets* insets,
    HMONITOR monitor) const {
  if (IsMaximized() && !native_window_view_->has_frame()) {
    if (base::win::GetVersion() < base::win::Version::WIN8) {
      
      
      
      
      
      
      
      int border_thickness = 1;
      insets->Set(0, 0, border_thickness, border_thickness);
    } else {
      const int frame_thickness = ui::GetFrameThickness(monitor);
      
      
      
      insets->Set(0, frame_thickness, frame_thickness, frame_thickness);
    }
    return true;
  }
  return false;
}
}