smurf: Fix bug that caused tilelist to list the same tile twice
smurf: Correct tile scripts to work with 3D cubes