added flashing effect when invulnerable