Fix crash in web view.