title: Electron application shows an extra border on transparent mode
body: <p>My Electron application is in transparent mode and is showing an extra border on window.</p>
  
  <p>See the image below and my code.</p>
  
  <p><a href="https://i.stack.imgur.com/gPNrb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gPNrb.png" alt="enter image description here"></a></p>
  
  <p>My code to create the window.</p>
  
  <pre><code>const win = new BrowserWindow({
  title: 'WeDraw',
  autoHideMenuBar: true,
  transparent: true,
  frame: false,
  titleBarStyle: 'hidden',
  webPreferences: {
    nodeIntegration: true
  }
  </code></pre>
  
  <p>});</p>