Fix problem with repeated loading of card images.