Fix copy custom attributes menu.
Merge remote-tracking branch: upstream/master