Fixed a little positioning bug with the checkbox.

diff --git a/controls/button.c b/controls/button.c
index 2536e05..f35eaf5 100644
--- a/controls/button.c
+++ b/controls/button.c
@@ -681,7 +681,10 @@
     { 
         HDC hMemDC = CreateCompatibleDC( hDC );
         int x = 0, y = 0;
-        delta = (rbox.bottom - rbox.top - checkBoxHeight) >> 1;
+        delta = (rbox.bottom - rbox.top - checkBoxHeight) / 2;
+
+	/* Check in case the client area is smaller than the checkbox bitmap */
+	if (delta < 0) delta = 0;
 
         if (action == ODA_SELECT) FillRect( hDC, &rbox, hBrush );
         else FillRect( hDC, &client, hBrush );