OK. That is only a problem on Firefox. The aspect ratio is not meant to change, but on Firefox it pops out into a different window.
thanks for showing the problem. I need a permanent way to fix that, because it was a problem in the previous jam as well.
For future reference: in Godot ProjectSettings/Window/Stretch/Mode = viewport should fix it.