On the Window frames/Per Pixel/Borders/Caption/[Painting] tab, set it to tile:

I'm not sure that the "Tile" settings on the right side of the margins still work, the margins may stretch regardless. Anyway, you'll need to get the margins set precisely right to get a smooth tile.