Fix: when clearing all enemies, be sure to clear the target too