Fixed enemy spawning-in-terrain bug