how to add a cover or window above fullscreen app in macos with BrowserWindow in electron?

When i use BrowserWindow。It just can create a window above my primary desktop on macos.But when i have many fullscreen applications (macos mutiple desktops).I can not create an browserwindow above the fullscreen application. My config is like this;

      let captureWin = new BrowserWindow({
            fullscreen: os.platform() === 'win32' || undefined,
            width: display.bounds.width,
            height: display.bounds.height,
            x: display.bounds.x,
            y: display.bounds.y,
            transparent: true,
            frame: false, 
            movable: false,
            resizable: false,
            enableLargerThanScreen: true,
            hasShadow: false,
        })
        captureWin.setAlwaysOnTop(true, 'screen-saver')
        captureWin.setVisibleOnAllWorkspaces(true)
        captureWin.setFullScreenable(false)

        captureWin.loadFile(path.join(__dirname, 'index.html'))