In the past when that happened, I just made sure to remove all the t-molding, then filled in any trouble area gaps with bondo. Once it dried, I sanded it down smooth and then used a Dremel with a cut-off wheel bit to carefully slice an opening in the center to line up with the existing opening for the undamaged areas. Then I re-installed the t-molding and it gripped perfectly.
D