fix for character overlapping with dialog box boarder