GitHub #73: Improve handling of lost focus and rollback (ESC) in text widgets