bug fix - updateLayerDimensions on activate