[Bug 10240] Missing region invalidation in edit control