diff --git a/plugins/Overlay/templates/index.js b/plugins/Overlay/templates/index.js
index 166b2e01e4934289bf2ca86cc8ef5229adf5782e..02521af8dd9f80229c7ef54f5a750504f84d7815 100644
--- a/plugins/Overlay/templates/index.js
+++ b/plugins/Overlay/templates/index.js
@@ -59,7 +59,7 @@ var Piwik_Overlay = (function() {
 	/** Adjust the dimensions of the iframe */
 	function adjustDimensions() {
 		$iframe.height($(window).height());
-		$iframe.width($body.width());
+		$iframe.width($body.width() - $iframe.offset().left - 2);
 	}
 
 	/** Display the loading message and hide other containers */