rem: EchoWindowPane.maxY = containerHeight- EchoWindowPane.activeElement.clientHeight - borderHeight; 
add: EchoWindowPane.maxY = containerHeight - EchoWindowPane.activeElement.clientHeight - borderHeight; 
context: EchoWindowPane.processTitleDragMouseDown = function(echoEvent) {    EchoDomUtil.preventEventDefault(echoEvent);    var componentId = EchoDomUtil.getComponentId(echoEvent.registeredTarget.getAttribute("id"));    var windowPaneElement = document.getElementById(componentId);        if (windowPaneElement != EchoWindowPane.activeElement) {        EchoWindowPane.activeElement = windowPaneElement;        EchoWindowPane.mouseOffsetX = echoEvent.clientX;        EchoWindowPane.mouseOffsetY = echoEvent.clientY;        EchoWindowPane.initialWindowX = parseInt(EchoWindowPane.activeElement.style.left);        EchoWindowPane.initialWindowY = parseInt(EchoWindowPane.activeElement.style.top);                var borderWidth = 2 * EchoWindowPane.getBorderWidth(EchoWindowPane.activeElement);        var borderHeight = 2 * EchoWindowPane.getBorderHeight(EchoWindowPane.activeElement);                var containerWidth = EchoWindowPane.getClientWidth(EchoWindowPane.activeElement.parentNode);        if (containerWidth === 0) {            containerWidth = 800;        }        EchoWindowPane.maxX = containerWidth - EchoWindowPane.activeElement.clientWidth - borderWidth;        if (EchoWindowPane.maxX < 0) {            EchoWindowPane.maxX = 0;        }        var containerHeight = EchoWindowPane.getClientHeight(EchoWindowPane.activeElement.parentNode);        if (containerHeight === 0) {            containerHeight = 600;        }        EchoWindowPane.maxY = containerHeight- EchoWindowPane.activeElement.clientHeight - borderHeight;        if (EchoWindowPane.maxY < 0) {            EchoWindowPane.maxY = 0;        }                EchoDomUtil.addEventListener(document, "mousemove", EchoWindowPane.processTitleDragMouseMove, true);        EchoDomUtil.addEventListener(document, "mouseup", EchoWindowPane.processTitleDragMouseUp, true);        EchoDomUtil.addEventListener(document, "selectstart", EchoWindowPane.selectStart, true);    }};
meta: 498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/498/3035303f5e6519fc916bd6272522820d8da4cad7/WindowPane.js/buggy/src/webcontainer/java/nextapp/echo2/webcontainer/resource/js/WindowPane.js