Fixed custom spawning of entities calling the event over and over.