Fix crash on web view