An ObjectFactory is intended to create multiple instances. If you want a singleton, write a singleton class (perhaps with public IInterface1 and IInterface2 properties as accessors).
It seems sketchily documented, but perhaps you can use a Container instead.