Fixed bug in world generation.