I used the default one so it would be easier to explain
The "below" picture i posted is the second row of buffs(It is to differen pictuers). Anyway applying your code gives me this:
But i think i fixed it with making a new function in Border.lua:P (function ns.CreateBuffBorder ect..) just a copy of ns.CreateBorder.
Now, how do i only apply it to the debuffs