updateDimensions normalize returned values.