Fixes spacing in tilesets.

When using spacing in tilesets, tiles will be off by what ever spacing is set to. Replacing `spacing` by `maring` fixed it for me and by looking at the code I would say, this was intended anyway.

Cheers for sharing your code on Github :+1: