fix issue with tileset gid calculations
fix small bug in embedded pixi