diff --git a/js/ui/osdWindow.js b/js/ui/osdWindow.js
index 432ea9af7..4c2b00b22 100644
--- a/js/ui/osdWindow.js
+++ b/js/ui/osdWindow.js
@@ -72,8 +72,8 @@ const OsdWindowConstraint = new Lang.Class({
 
         // Recenter
         let [x, y] = actorBox.get_origin();
-        actorBox.set_origin(Math.floor(x + width / 2 - size / 2),
-                            Math.floor(y + height / 2 - size / 2));
+        actorBox.set_origin(Math.ceil(x + width / 2 - size / 2),
+                            Math.ceil(y + height / 2 - size / 2));
     }
 });