It could have something to do with how you load the level. Also make sure the game is set to compatibility renderer but i thought godot already does that automatically on html. But in general godot can be a little janky on web so its better to also have a downloadable exe as a backup