Fixes mem issue when creating attributed string with tab stops.