[Bug 40002] Edit control is not repainted on focus change