fix autosizing of text by constraining width