Good news, turns out I've figured out a more proper fix to it all. I have simply made all of the text be the one with the different spacing that is required for the coloured ones...I do not know why it took me so long to figure that out, but having all the spacing more pronounced like that should make sure there's no overlap AND make it look less messed up.
So, I might have accidentally found the fix for it. When going about and making the spacing of the stuff all use the new text, I noticed that I'd forgotten to have the item defence call the correct object when it was equal to your current equipments defence, so that's probably where the undefined was coming from, so, it should actually be fixed now too. If it still shows up at any point, grab a screenshot and I'll see what I can do to fix, but hopefully should be good now.