TextFieldTextEditor: fix for Mac HiDPI