Fix displaying thumbnail of gallery category