[3.8] Fix #1681 : Avoid basket tooltip overflow