fixed bug where textWidth did not measure correctly
if tooltip string is empty, no longer display tooltip