[#985644] Fix crash when pasting youtube clips