Fix bug where cards do not show properly.