Jquery paste event doesn't work the first time (but does after)

Jquery paste event doesn't work the first time (but does after)

I have a jquery script which is supposed to capture the paste event in an IFRAME. It works perfectly, but only from the second paste attempt onwards in each session. Any idea how to make it work the first time? I've seen some posts about this problem suggesting that I use a setTimeOut to delay the response, but that hasn't worked for me.

$('iframe').each(function () {
 
        $(this).contents().find('body').on('paste', function (e) {
console.log("paste captured");
        });
    });