card and entityrender fixes