diff --git a/src/scene-entry-manager.js b/src/scene-entry-manager.js
index f109520adbee6f715339416988eccfa502432db7..ed86791042774c42b6e1a7d0440e3ad64090d028 100644
--- a/src/scene-entry-manager.js
+++ b/src/scene-entry-manager.js
@@ -218,7 +218,7 @@ export default class SceneEntryManager {
     });
 
     document.addEventListener("paste", e => {
-      if (e.matches("input, textarea") && document.activeElement === e.target) return;
+      if (e.target.matches("input, textarea") && document.activeElement === e.target) return;
 
       const url = e.clipboardData.getData("text");
       const files = e.clipboardData.files && e.clipboardData.files;