Install a wider take down bar.
This is the S&W take down bar. But, a Glock take down bar is identical! I have (5) installed in all (5) of mine. (SW9VE, SW40VE, SD9VE, SD40VE, SD9)
This is the identical take down bar, for almost 1/2 the price, AND IT FITS THE SD SERIES GUNS!