Takes care of minor issues with terrain generator