Fixed missing render element in media gallery thumbnail.  #741