Fix crash when web view delegate is nil after closing view controller and it tries to send a message to the delegate.