Make loading meshes from tiled layers work