[Bug 15396] program doesn't draw text to dialog box properly