I've seen that other 3d games had the same problem with mouse and web export. Sadly, don't make 3d games so I don't know how to fix this. Maybe you can find some help on the discord sever.