How to rebind ViewContainer.Factory without side effect

Hi,
I create a custom ViewContainer in my extension, I want to rebind ViewContainer.Factory to my ViewContainer. but it seems that the rebind ViewContainer.Factory has effect on other extensions




when I debug, I find that the viewcontainer in debug-session-widget is also MyViewContainer, the rebind is global?