fix refcounting of nsproxy object when unshared