Fix tooltip position on vertical overflow