You have to designate your HBP payment in two places, once in the "HBP - Home Buyer's Plan page and then in the "RRSP Contribution limit" page. In the "HBP - Home Buyer's Plan" page, you put in how much you have designated your RRSP contribution as HBP repayment, and then in the "RRSP Contribution limit" page, in "First 60 days" or "March - December 2021" whichever place that corresponds to the time that you made your RRSP contribution that included your HBP repayment, you have to state the total amount that you contributed to RRSP to show that this is the amount that you contributed to the RRSP.
Once you do that, then UFile will calculate it correctly.