Correctly fill the background of a checkbox button.

diff --git a/controls/button.c b/controls/button.c
index a38445b..7cc8bf9 100644
--- a/controls/button.c
+++ b/controls/button.c
@@ -861,6 +861,10 @@
         rtext.left += checkBoxWidth + 4;
         rbox.right = checkBoxWidth;
     }
+ 
+    /* Since WM_ERASEBKGND does nothing, first prepare background */
+    if (action == ODA_SELECT) FillRect( hDC, &rbox, hBrush );
+    if (action == ODA_DRAWENTIRE) FillRect( hDC, &client, hBrush );
 
     /* Draw label */
     client = rtext;
@@ -871,10 +875,6 @@
     /* Draw the check-box bitmap */
     if (action == ODA_DRAWENTIRE || action == ODA_SELECT)
     {
-	/* Since WM_ERASEBKGND does nothing, first prepare background */
-	if (action == ODA_SELECT) FillRect( hDC, &rbox, hBrush );
-	else FillRect( hDC, &client, hBrush );
-
         if( TWEAK_WineLook == WIN31_LOOK )
         {
 	    HDC hMemDC = CreateCompatibleDC( hDC );