Fixed cyclic spawning not resetting.