Ah that's a bug, thanks for pointing it out. It seems to be a higher level Godot thing that happens in the export so I don't think I'll be able to figure out how to fix it right away. But if you finished the game and got a black screen here's the ending: