Corrected slight error in visualization size computation by accounting for the border size