Yeah, I think that's a flaw in the game. They didn't bother checking if you lose, though you can't continue playing since all the pieces just get stuck anyway.