Move logic for applying invincibility to player to prevent it from being wiped out by level init