Is a gas tank leak fixable?

I had this same exact thing happen to me tonight...i used a flat blade screwdriver and banged it with a hammer, the ring moved a quarter of an inch, and sealed...luckily....

sometimes if you use the new metal ring it wont seal because its made of a thinner, cheaper material than the factory ring...just an idea...