Do not rely on built-in action to copy link, fixes #312