fix drupal_render pass-by-reference issue