updateDimensions

Updates dimensions to match this CartesianLayer’s dimensions.