diff --git a/plugins/Actions/Columns/VisitTotalInteractions.php b/plugins/Actions/Columns/VisitTotalInteractions.php
index ee8d4938d8c31d304e92b86dc18bd8aa845094a7..14a5572ad4e793df67518644f2abacc00531723e 100644
--- a/plugins/Actions/Columns/VisitTotalInteractions.php
+++ b/plugins/Actions/Columns/VisitTotalInteractions.php
@@ -74,7 +74,10 @@ class VisitTotalInteractions extends VisitDimension
     {
         $position = $request->getMetadata('Actions', 'visit_total_interactions');
 
-        return $position + 1;
+        $position = $position + 1;
+
+        // Remove this in Piwik 4
+        return min($position, 32765);
     }
 
     /**