Click inside the port frame
Browsers only route keyboard and mouse-look events to an iframe after a direct click. Click the center of the 3D canvas—not the site header—then test WASD. After alt-tabbing, press Esc once and click the canvas again to recapture pointer lock.