Copy title attribute from original element
Merge pull request #2257 from mkurz/title_fix

Copy title attribute from original element