Index: wp-includes/post-template.php
===================================================================
--- wp-includes/post-template.php	(revision 20959)
+++ wp-includes/post-template.php	(working copy)
@@ -501,7 +501,7 @@
 	if ( is_admin_bar_showing() )
 		$classes[] = 'admin-bar';
 
-	if ( get_background_image() || get_background_color() )
+	if ( get_theme_mod( 'background_image' ) || get_theme_mod( 'background_color' ) )
 		$classes[] = 'custom-background';
 
 	$page = $wp_query->get( 'page' );
Index: wp-includes/theme.php
===================================================================
--- wp-includes/theme.php	(revision 20959)
+++ wp-includes/theme.php	(working copy)
@@ -1102,8 +1102,9 @@
  * @access protected
  */
 function _custom_background_cb() {
-	$background = get_background_image();
-	$color = get_background_color();
+	$background = get_theme_mod( 'background_image' );
+	$color = get_theme_mod( 'background_color' );
+
 	if ( ! $background && ! $color )
 		return;
 
Index: wp-content/themes/twentyten/functions.php
===================================================================
--- wp-content/themes/twentyten/functions.php	(revision 20959)
+++ wp-content/themes/twentyten/functions.php	(working copy)
@@ -94,7 +94,10 @@
 	) );
 
 	// This theme allows users to set a custom background.
-	add_theme_support( 'custom-background' );
+	add_theme_support( 'custom-background', array(
+		// Let WordPress know what our default background color is.
+		'default-color' => 'f1f1f1',
+	);
 
 	// The custom header business starts here.
 
Index: wp-content/themes/twentyeleven/functions.php
===================================================================
--- wp-content/themes/twentyeleven/functions.php	(revision 20959)
+++ wp-content/themes/twentyeleven/functions.php	(working copy)
@@ -97,8 +97,18 @@
 	// Add support for a variety of post formats
 	add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery', 'status', 'quote', 'image' ) );
 
+	$theme_options = twentyeleven_get_theme_options();
+	if ( 'dark' == $theme_options['color_scheme'] )
+		$default_background_color = '1d1d1d';
+	else
+		$default_background_color = 'f1f1f1';
+
 	// Add support for custom backgrounds.
-	add_theme_support( 'custom-background' );
+	add_theme_support( 'custom-background', array(
+		// Let WordPress know what our default background color is.
+		// This is dependent on our current color scheme.
+		'default-color' => $default_background_color,
+	) );
 
 	// This theme uses Featured Images (also known as post thumbnails) for per-post/per-page Custom Header images
 	add_theme_support( 'post-thumbnails' );
