fix card location functionality in deck view