diff --git a/lime/_backend/html5/HTML5Application.hx b/lime/_backend/html5/HTML5Application.hx
index d4fd5ad43..27d0e7263 100644
--- a/lime/_backend/html5/HTML5Application.hx
+++ b/lime/_backend/html5/HTML5Application.hx
@@ -156,6 +156,11 @@ class HTML5Application {
return false;
};
}
+ if (!CanvasRenderingContext2D.prototype.isPointInPath) {
+ CanvasRenderingContext2D.prototype.isPointInPath = function (path, x, y) {
+ return false;
+ };
+ }
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];