That makes sense as to why it only started happening later, good find.
If you managed to lose a unit in time and no longer be at max spawn when bar is full, the spawn would happen.
Ah I see. I wonder if there's a way to communicate that to the player. Like "Readying spawn" "No room" "Spawn successful" text by the bar.