don't remove title attribute for tooltips

fixes #6445.

empty title attribute instead of removing it so selectors like `[title]` are working.