fix bug with tiled map layers metadata event
Merge pull request #170 from patrickarlt/master

fix bug with tiled map layers metadata event