<!--  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:**
  * 11.0.4 and 12.0.0-beta.7
* **Operating System:**
  * Windows 10 and 8.1
* **Last Known Working Electron version:**
  * N/A

### Expected Behavior
Window does not re-open itself or become unusable.

### Actual Behavior
When you maximize and then close an Electron App to the system tray, and then change the display resolution in Settings, the Electron app will re-open the app window, and that window will be unusable. 

### To Reproduce
Here's a gist: https://gist.github.com/devinfoley/7888802bc7f6597f703646a5263d4662

1. Start the application.
2. Maximize the window.
3. Close the window with X.
4. Enter Settings and change your display resolution.

You may need to change the application icon referenced in the above fiddle. It's hardcoded to a location on my machine.

### Screenshots

Open and maximize the app, then close it to system tray by clicking the X button.
<img width="1241" alt="Maximized App" src="https://user-images.githubusercontent.com/139239/101559151-6564e500-3975-11eb-985e-f33a309b9af2.png">

Go into settings and change your resolution.
<img width="1241" alt="Changing Resolution in Settings" src="https://user-images.githubusercontent.com/139239/101559149-6433b800-3975-11eb-820c-919c376b452b.png">

After the resolution is changed, an unusable Electron window will be displayed fullscreen.
<img width="1264" alt="A Broken Window Appears!" src="https://user-images.githubusercontent.com/139239/101559142-6138c780-3975-11eb-81a3-84a4ec72e0ee.png">

### Additional Information
I was able to repro this issue in Parallels, but not VirtualBox.





shell/browser/native_window_views_win.cc
switch (w_param) {
    case SIZE_MAXIMIZED:
    case SIZE_MINIMIZED: {
      WINDOWPLACEMENT wp;
      wp.length = sizeof(WINDOWPLACEMENT);
      if (GetWindowPlacement(GetAcceleratedWidget(), &wp)) {
        last_normal_placement_bounds_ = gfx::Rect(wp.rcNormalPosition);
      }
      
      
      if (w_param == SIZE_MAXIMIZED &&
          last_window_state_ != ui::SHOW_STATE_MAXIMIZED) {
        last_window_state_ = ui::SHOW_STATE_MAXIMIZED;