I encountered this bug as well, looks like it happens when you quit while on a stage with machines on the board; the board state itself isn’t restored when you reload the save, but the “used” machines are still missing from your inventory.
Fixing this now