Yes. this was the issue. I checked the code and I added the browser fullscreen but it doesn't work on game start. It works only if add 1s timeout in my case. I don't know if it is valid for me only, maybe I'm doing something wrong, but anyway, it works now. Thank you guys for help