added hack to allow multiple tile layers to use the same gid