### Preflight Checklist

- [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](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Electron Version

13.1.0

### What operating system are you using?

macOS

### Operating System Version

macOS Big Sur 11.2.3 (20D91)

### What arch are you using?

x64

### Last Known Working Electron version

12.0.10

### Expected Behavior

![image](https://user-images.githubusercontent.com/19370201/120759983-2d1a1a00-c546-11eb-934e-33114a678193.png)


### Actual Behavior

![image](https://user-images.githubusercontent.com/19370201/120760015-37d4af00-c546-11eb-9bf2-acbd0566fa2d.png)


### Testcase Gist URL

_No response_

### Additional Information

```js
const { app, BrowserWindow, BrowserView } = require('electron')

function createWindow () {
    const win = new BrowserWindow({ width: 300, height: 300, titleBarStyle: 'hidden' })
    const view = new BrowserView()
    win.addBrowserView(view)
    view.setBounds({ x: 0, y: 0, width: 300, height: 40 })
    view.setBackgroundColor('#000000')
    win.loadFile('index.html')
}

app.whenReady().then(() => {
    createWindow()
})
```
shell/browser/native_window_mac.h
@class ElectronNSWindowDelegate;
@class ElectronPreviewItem;
@class ElectronTouchBar;
@class WindowButtonsView;
namespace electron {
class RootViewMac;
class NativeWindowMac : public NativeWindow,
                        public ui::NativeThemeObserver,
                        public display::DisplayObserver {
 public:
  NativeWindowMac(const gin_helper::Dictionary& options, NativeWindow* parent);
  ~NativeWindowMac() override;
  
  void SetContentView(views::View* view) override;
  void Close() override;
  void CloseImmediately() override;
  void Focus(bool focus) override;
  bool IsFocused() override;
  void Show() override;
  void ShowInactive() override;
  void Hide() override;