<!--  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:**
  9.1.0

* **Operating System:**
  Windows 10

* **Last Known Working Electron version:** 
 9.1.0

### Expected Behavior

one

### Actual Behavior

twice

### To Reproduce

1.  First, get the bug replay code:

```sh
$ git clone https://github.com/kaysonwu/electron-quick-start.git -b master
$ yarn install
$ yarn dev
```

2. When the program runs for the first time, click on the title bar

3. In the developer tool console page, you can see the event output twice

### Screenshots

![20200729202825](https://user-images.githubusercontent.com/14865584/88800044-14303200-d1da-11ea-84a5-97331e21f1cf.png)

### Additional Information

Similar: [https://github.com/electron/electron/issues/23275#issuecomment-635253811](https://github.com/electron/electron/issues/23275#issuecomment-635253811)
shell/browser/native_window_views_win.cc
if (is_setting_window_placement_) {
    
    
    
    if (message == WM_NCCALCSIZE)
      return false;
    
    *result = DefWindowProc(GetAcceleratedWidget(), message, w_param, l_param);
    
    return true;
  }
  switch (message) {
    
    
    
    
    
    case WM_GETOBJECT: {
      if (checked_for_a11y_support_)
        return false;
      const DWORD obj_id = static_cast<DWORD>(l_param);
      if (obj_id != static_cast<DWORD>(OBJID_CLIENT)) {
        return false;
      }
      if (!IsScreenReaderActive()) {
        return false;
      }
      checked_for_a11y_support_ = true;
      auto* const axState = content::BrowserAccessibilityState::GetInstance();