Fixed bug around linkedLayers