Removes temporary DIV elements from DOM after measuring texts with restricted widths.