OK looked at the pix, yep that will allow water in, what I'd do is when you change the gasket, coat it on both sides with Permatex Aviation sealer, this may allow it to seal, and keep out water.
Also I am wondering why if your ESA doesn't work, how is it that it shifts OK? the ESA is triggered...