Fix bug of tiled2rpgjs.