Fix invincibility bug