Fix copy/paste frames to clipboard
This does not work if source was closed inbetween operations or source is in another krita instance.
BUG:408421 BUG:404595