Clean up widget element's attributes, not widget's returned root's.