Fixes #389
Paste event fix
Merge pull request #390 from adaptlearning/issue/389

Fixes #389