fix for edit box in MemoField