Fix crash when calling removeObserver from the osberver's dealloc