computeLayout calls updateBarScaleExtents