Bugfix: buildSampleTerrain crashing