diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js
index 90289fd216704268bb9fafdef211f0dea3ee7f19..ab4fbb5082d1ba941dd28f0b6727882ad14d3a46 100644
--- a/pd/nw/pdgui.js
+++ b/pd/nw/pdgui.js
@@ -5659,7 +5659,12 @@ function gui_iemgui_dialog(did, attr_array) {
     // We are subtracting 25 for the menu
     // ico@vt.edu: since adding frameless window, we use top 20px for draggable titlebar,
     // so now we subtract only 5 (25-20)
-    create_window(did, "iemgui", 298, 414-5,
+    //post("attr_array=" + attr_array);
+    var height = 409;
+    if (attr_array[1] === "vu") {
+        height = 360;
+    }
+    create_window(did, "iemgui", 298, height,
         popup_coords[2] + 10, popup_coords[3] + 60,
         attr_array_to_object(attr_array));
 }