So I wound up deleting preferences.xml again, as well as the res_mods folder. I also reset the UI Scale slider. The damage counter is still shifted towards the center, but it is no longer obscured by other UI elements at least. Dunno if I would call that solved, as it is still shifted; but at least it is usable again.