It works correctly in the downloaded version, I have no clue what's wrong with the web version :(
Also, if you pressed escape on the xylophone part, that's a keybind on the browser that removes mouse capture. There's an on-screen back button to fix that