diff --git a/lime/_backend/html5/HTML5Window.hx b/lime/_backend/html5/HTML5Window.hx
index 354d58cdd..0bb69468e 100644
--- a/lime/_backend/html5/HTML5Window.hx
+++ b/lime/_backend/html5/HTML5Window.hx
@@ -370,7 +370,7 @@ class HTML5Window {
private function handleResize ():Void {
-
+ primaryTouch = null;
var stretch = parent.fullscreen || (setWidth == 0 && setHeight == 0);
if (element != null && (div == null || (div != null && stretch))) {
@@ -742,4 +742,4 @@ class HTML5Window {
}
-}
\ No newline at end of file
+}