yo thanks for playing!!! I've tried to replicate the bug on my end, but I'm actually able focus back in if I click off the screen. It might be an issue with certain browsers, since godot 4 on the web can be pretty buggy, but nevertheless I'll look into it!
I guess the easy solution right now is to play in fullscreen, unless it happens in there too... still, thanks for letting me know about this!