I'm confused by this field in Tilemap's loadFrom... methods. try setting it to 1 with a tileset image where there is no empty tile at 0