Fixed enemy spawning issue