Some fixes to Tile and TileMaze