Why is my Altium gerber file merging component borders with a polygon pour?
Check your Gerber output configuration and make sure that none of the shown boxes are checked:

If you check any of those boxes that particular mechanical layer will be merged with each of the other layers, something you seldom want.