Do not preventBeforePasteEventNow if it was called by CTRL + INSERT.
Comment added.
Changelog entry.
Merge branch 't/11970'
Wrapped getActive method in try catch block, and updated method calls.
Wrap *only* access to activeElement in try-catch block.