7624: fix textedit viewport