diff --git a/core/input/devices.js b/core/input/devices.js
index c2cdb2c2d9d4fc5b25c60a628686fab95bb3d4ec..e38f9c7e408dcd984d40da66b55481aba491f6d1 100644
--- a/core/input/devices.js
+++ b/core/input/devices.js
@@ -330,12 +330,8 @@
             if (!this._focused) { return true; }
 
             var evt = (e ? e : window.event);
-            var pos = Util.getEventPosition(e, this._target, this._scale);
-
             /* Stop propagation if inside canvas area */
-            if ((pos.realx >= 0) && (pos.realy >= 0) &&
-                (pos.realx < this._target.offsetWidth) &&
-                (pos.realy < this._target.offsetHeight)) {
+            if (evt.target == this._target) {
                 //Util.Debug("mouse event disabled");
                 Util.stopEvent(e);
                 return false;