Fix for spawning mobs with set target