diff --git a/includes/common.inc b/includes/common.inc
index d34c19d..65590a9 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -5603,6 +5603,7 @@ function drupal_render(&$elements) {
 
   // Try to fetch the element's markup from cache and return.
   if (isset($elements['#cache']) && $cached_output = drupal_render_cache_get($elements)) {
+    $elements['#printed'] = TRUE;
     return $cached_output;
   }
 
