Trim on focusout