fix custom tile index
v0.2.2
Merge pull request #10 from mohayonao/bugfix

Bugfix for custom tile index