Fix a rare crash in `onPageFinished()`. https://redmine.stoutner.com/issues/424