Fixed a missing removeObserver