Fix terrain example after merge from master.