Smart tooltip placement.