Fixed inadvertent counting error in tile ids