Try it now, please. The updated version with preventDefault() on keydowns for space, enter, etc. has just been uploaded (with permission from the Game Jam host Paweł). On my Windows laptop it catches space and enter correctly in game when you click/tap on the game's "Run game" button and the game is active.