Fix product thumbnail quick add to cart when rendered with JS.