use shared_ptrs in State drawable vector.