Oh I see you're still using wasd-controls actually on camera rig, that's probably why I see weird rotation of camera in viewer mode, because look-controls is on the rig and not the camera. wasd-controls and look-controls are meant to be on the camera, not the rig, but then it conflicts with cursor-teleport that moves the rig and not the camera. That's why you need to switch to movement-controls on rig and look-controls on camera, and remove wasd-controls usage.
movement-controls="fly:true"
Oh I see you're still using wasd-controls actually on camera rig, that's probably why I see weird rotation of camera in viewer mode, because look-controls is on the rig and not the camera. wasd-controls and look-controls are meant to be on the camera, not the rig, but then it conflicts with cursor-teleport that moves the rig and not the camera. That's why you need to switch to movement-controls on rig and look-controls on camera, and remove wasd-controls usage.