I think it's fine as long as the ring is compressing the gasket. The old gasket may have lost some of its thickness, or the new one could be a bit thicker.
Disclaimer: Links on this page pointing to Amazon, eBay and other sites may include affiliate code. If you click them and make a purchase, we may earn a small commission.