"Open a Folder" dialogue unresponsive with mouse

On Arch Linux with dwm window manager, when clicking on the “Open a Folder” button, the file chooser dialogue cannot be operated with the mouse. Only with keyboard. Using Ctrl+O for opening a folder works fine, but only after clicking one time on the opened editor window (giving it focus).
No outputs in the console when starting with ELECTRON_ENABLE_LOGGING=true ./cursor_b6913c0342069000aa206b0d0220ab05.AppImage

System info (taken from Help->About):

Version: 0.22.1
VSCode Version: 1.85.1
Commit: 20d6b2fe0f43a91764e828b77e985d1380d3ca20
Date: 2024-01-08T23:25:28.010Z
Electron: 25.9.7
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
OS: Linux x64 6.6.10-arch1-1

Linking this github issue: Folder dialog unclickable when opening a folder · Issue #1107 · getcursor/cursor · GitHub
I did not start it, but have the same problem