Fixed inconsistencies in spawning.