Unfortunately, you encountered a bug with your code. The game mechanic may need further exploration. The effect for Supernova is quite cool, I think.