Installing a dishwasher tub gasket

https://sopuli.xyz/post/43160798

There should be a groove where it mates with the door.
Yeah that’s exactly what I’m trying to do. You can see the groove in the pic. I suppose it’s just a bad or wrong part because it does not want to stay in there.