<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong> 12.0.0-beta.11 and higher
<ul dir="auto">
<li>

</li>
</ul>
</li>
<li><strong>Operating System:</strong> macOS 10.15 and 11.0
<ul dir="auto">
<li>

</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong> 12.0.0-beta.10
<ul dir="auto">
<li>

</li>
</ul>
</li>
</ul>
<p dir="auto">Testcase:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  mainWindow = new BrowserWindow({
    width: 800,
    height: 600,
    webPreferences: {
      nodeIntegration: true
    },
    titleBarStyle: 'hidden'
  })"><pre class="notranslate"><code class="notranslate">  mainWindow = new BrowserWindow({
    width: 800,
    height: 600,
    webPreferences: {
      nodeIntegration: true
    },
    titleBarStyle: 'hidden'
  })
</code></pre></div>
<p dir="auto">Working behavior (in beta 10 and lower):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/10314059/104553589-85d13080-5600-11eb-99ff-f347a26e3829.png"><img width="368" alt="Screen Shot 2021-01-14 at 12 27 37 AM" src="https://user-images.githubusercontent.com/10314059/104553589-85d13080-5600-11eb-99ff-f347a26e3829.png" style="max-width: 100%;"></a></p>
<p dir="auto">Broken behavior (in beta 11):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/10314059/104553604-8f5a9880-5600-11eb-9652-41a437561a96.png"><img width="572" alt="Screen Shot 2021-01-14 at 12 30 30 AM" src="https://user-images.githubusercontent.com/10314059/104553604-8f5a9880-5600-11eb-9652-41a437561a96.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="762770729" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/26960" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/26960/hovercard" href="https://github.com/electron/electron/pull/26960">#26960</a> looks related?</p>
<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>12.0.0-beta.14</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>macOS 11.0.1</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>11.1.1</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">The fullscreen button should be enabled and work, see this image from electron 11.1.1</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5129086/104339611-14a65600-54f8-11eb-82d9-a7e00aa28643.png"><img src="https://user-images.githubusercontent.com/5129086/104339611-14a65600-54f8-11eb-82d9-a7e00aa28643.png" alt="Screenshot 2021-01-12 at 17 02 51" style="max-width: 100%;"></a></p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">The fullscreen button is disabled and does not work, see this image from electron 12.0.0-beta.14.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5129086/104340509-0c9ae600-54f9-11eb-8aa5-38d95b6f77cc.png"><img src="https://user-images.githubusercontent.com/5129086/104340509-0c9ae600-54f9-11eb-8aa5-38d95b6f77cc.png" alt="Screenshot 2021-01-12 at 17 10 10" style="max-width: 100%;"></a></p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Simply take any project and update to Electron 12.0.0-beta.14</p>