Add null check. (Codepath: Unbind called by Dispose).