Calculating container widths and height no more accurate when using non-default configuration