Fixed mob spawning so that hostile mobs will not spawn incorrectly.