Fix a hang that can occur when using structural navigation with Evince forms