There's a balance issue that you're rewarded for killing enemies, but they despawn if you finish the wave. So the player is basically punished for hitting the black hole.
Thanks! I need to improve a lot the balance. I can not pass wave 25! What you mention might be part of the reason.