better display in tooltip and providing for empty width/height attributes