That's unfortunate. I don't have a mac to test it on, so there's not much I can do.
It's a known problem with the HTML5 export of Godot4.x, that's why I stick with Godot 3.5 at the moment.