proper output window geometry calc, window is draggable