Another hackish patch for URL rendering