The only chance you have of a quick fix is to try and tap the outer ring back over the rubber connector.
Tap the outer plastic ring away from the pan.
If that doesn't fix it, plan b is to remove pan and put a new connector on.
Problem with that is you have a skew pan - pan outlet to the left.
If you break the pan removing it, an new skew pan will cost you @ $400.00.
They are expensive for the reason that only 1 company makes them and if you need one, you will pay the price.