Fix refcount issue disposing sampler state pins