Fix gallery loop on page-product.php