Fix bug with dead enemies attacking