add invulnerability frames when player is hit