retain componentFactory when re-registering view