Remove the excess of width generated by codes

Hi!
I'm using Modern Algebra's ATS: Message Options 1.0.7 (Found here: http://pastebin.com/yVC7P5yC).

My problem is that when I create a text with some of the codes from the script (Ex: \nb{text}) the text window atomatically create an excess of width in the right part of the window. Here it is:

codes+excess+width.jpg


I wonder if someone can make a script to remove this excess of width generated by the codes.

Thanks in advance!

Original thread: https://forums.rpgmakerweb.com/threads/remove-the-excess-of-width-generated-by-codes.28793/