Fix for Terrain Generator