Fix a traceback that occurred when Evince form field widgets lost focus