fix spawn event batching