Fixing a bug in SpellSpawn