Sales Invoice Status Not paid even when short pay taken as loss on Payment Entry

ERPNext: v11.1.48 (master)
Frappe Framework: v11.1.43 (version-11)

Sales Invoice for $336.20
Payment Entry for $325.08 with $10.12 taken as a loss and showing Difference Amount = 0

Original Invoice still shows as Unpaid with outstanding amount of $11.12!!!
Where did that value come from? No additional payment will be applied to this invoice so how to clear status to Paid