The tax breakup does not follow the configuration and fails on the last line, altering my sales deta

I am using ERPNEXT 16, self hosted where the currency precision is set to 4 and Float precision is 2

This usually works fine, but the item on the last line doesn’t follow the price format. Prices have been configured to have two decimal places, but they are rounded to tenths.

For example, 11.20, 19.30, and so on.

If you look at the image, the sum of the taxable amount and the tax gives a value rounded to tenths, which is as desired.
If you look at the last line, the result has cents, but the previous lines are rounded to tenths.

Notice that the second-to-last line serves my purpose, but I’m going to remove the last line and the rounding of the second-to-last line changes and it ends up with cents.

Now the last line has changed its rounding, compare the same item in the table above

Any hints about the solution? It seems like a bug to me.

Thank you in advance for your answers

I forgot to mention that I am using Bankerś rounding method and price with tax included