Fixed a padding bug

Was crashing when using graphic character substitute