NEW YORK (AP) — Avery Johnson was mad at the Mavericks. The Knicks were disappointed in their fans.

Seems plenty of people are unhappy at Madison Square Garden these days.

Dirk Nowitzki scored a season-high 36 points, leading Dallas to a 99-89 victory over New York on Monday night.

The Mavs let a 23-point lead slip to seven, and their coach was clearly angry during his profane postgame remarks.

“We had a big enough lead and we should have kept it,” Johnson said. “The last two minutes or three minutes of the third quarter was absolutely pathetic. The guys who were in there let the whole team down. We can’t afford the team to do that.”

Though the fans cheered the Knicks during the comeback, coach Isiah Thomas and center Eddy Curry were the targets of boos most of the night. Mara Altschuler, a fan sitting near the Knicks’ bench, said Thomas was talking to some fans during the game, blaming them for being a poor “sixth man” for the team.

Thomas wouldn’t directly answer if he had interacted with any fans.

“I was just trying to make sure that we kept the team together and we stayed focused on what we were doing and trying to win a basketball game,” he said. “Our fans are great, they support us and they show up and we’re glad they’re here.”

Asked a second time, he responded: “Again, I just want to make sure that our team stays focused. The fans are great, we love them and we’re glad they’re here and they give us a lot of support.”

Not enough of it for Zach Randolph.

“It’s real hard. I ain’t never been in a situation like that and I don’t understand,” he said. “I guess they say it’s New York fans, but you know it’s real tough. Honestly. Especially for me, because I’ve never experienced every time a player walks off the court you’re booing.

“Everywhere else, in Portland, fans were a big part of our team. Fans are a big part of every team everywhere you go. We need the fans to be supportive with us, even when we’re down.”

Josh Howard, who scored a career-high 47 points Saturday in a victory over Utah, added 22 to help the Mavericks beat the Knicks for the 11th time in 12 meetings. Reserve Jerry Stackhouse added 13 points for Dallas, which shot 54 percent from the field.

Randolph scored 24 points, all in the second half, and grabbed 11 rebounds, but the Knicks lost their third straight. Jamal Crawford had 19 points and Fred Jones 16, helping New York cut a 23-point deficit to single digits in the fourth quarter.

As usual with the Knicks, basketball was only part of the story.

Earlier Monday, Madison Square Garden and Thomas reached an $11.5 million settlement in the sexual harassment case brought by former team executive Anucha Browne Sanders.

Thomas opened his pregame news conference with a statement reaffirming his innocence, but supporting MSG’s desire to settle. He wouldn’t take any questions about the matter.

Thomas heard his normal boos, but the fans seemed to focus more of their anger toward Curry, who was 3-of-13 from the field and scored six points in another ineffective performance. The Knicks said Curry sustained a lacerated lower lip.

Howard has supplanted Nowitzki, the reigning MVP, as the Mavs’ leading scorer, but the big German was clearly the first option Monday. He was 14-of-23 from the field, throwing up an airball on his final attempt. But the Mavs were up 14 by then, safely on their way to a second straight victory following consecutive losses.

“I was fortunate I was able to find the rhythm very quick,” Nowitzki said.