It seems that the client used “territory white” and “territory black” tags to mark territory, but it appears that not all of it was marked properly. Since not all of the territory is marked properly with these tags (which may be a problem with the client or a mistaken scoring issue), I think this might be confusing OGS somehow.
I “cleaned” the SGF file from your game by downloading the SGF and reprocessing it through another editor. Here is the “cleaned” file with the territory tags removed: cleaned.sgf (2.9 KB)
The score estimator (not KataGo, but the button on the side menu) uses Chinese rules, whereas your game was scored with Japanese rules. Since there were some extraneous passes by white, that will increase the discrepancy between Japanese and Chinese rules.
Note that filling dame at B6 should affects the score under both Japanese and Chinese rules, since Black playing there would require White to protect at A5. Hence, KataGo also disagrees with the final scoring.
Of course, I understand that you may have just wanted to avoid dragging it out any longer.