Heya, there might be a better way but after some snooping around I’ve found this to work
hooksecurefunc("TargetFrame_UpdateBuffAnchor", function(_, buff)
buff:SetSize(21, 21)
end)
hooksecurefunc("TargetFrame_UpdateDebuffAnchor", function(_, debuff)
debuff:SetSize(21, 21)
end)