Compensated for borders in panel sizes