Everything appears fine with the behavior, and I can't seem to "break" the game myself, so I'm not sure where that error is coming from. Usually that error happens when you have an attribute that refers to an object that has not yet been created or which has already been killed.
If you upload the game to StencylForge, I can take a look at it.