Fixed format "leaking"

Previously, if text was set to be bold and then was printed, the input
box would be bold.