finally, added a function to convert tilemap layer to a group