make EntityManager::remove correctly call System::notifyDestroyed