AH I'm sorry about that! I've only been testing so far on google chrome for Windows and Mac, I'll see what I can do!
maybe exporting the game to windows/mac/linux executable it will work? I know that my game also was not confining the mouse to the game screen, it only worked exporting the game executable (maybe some issue with the brave browser?)
I uploaded a Windows build! I believe that it's a browser issue :(