Fixed: editing textFields on different windows can clobber each others contents

Was caused by resignFirstResponder not checking that the input owner is self.
Full credits go to BlairDuncan

Fixes #1983