Don't draw scrollbars if their client rectangle is empty.

diff --git a/controls/scroll.c b/controls/scroll.c
index 2b8f3f4..1f272e7 100644
--- a/controls/scroll.c
+++ b/controls/scroll.c
@@ -790,6 +790,10 @@
     vertical = SCROLL_GetScrollBarRect( hwnd, nBar, &rect,
                                         &arrowSize, &thumbSize, &thumbPos );
 
+    /* do not draw if the scrollbar rectangle is empty */
+    if(IsRectEmpty(&rect))
+      goto END;
+
     if (Save_SCROLL_MovingThumb &&
         (SCROLL_TrackingWin == hwnd) &&
         (SCROLL_TrackingBar == nBar))