improving calculation of leading in overlay components