Knicks star rookie Kristaps Porzingis challenges nearly every shot he can near the rim, and was dunked on twice in Miami on Wednesday.

But KP got beat by Chris Bosh at the top of the key in the third quarter, and not even the rookie’s long wingspan could stop Bosh from slamming it home.

Then in the fourth quarter, Porzingis ended up on the wrong end of a poster, this time courtesy of Heat center Hassan Whiteside. Porzingis went up to break up an alley-oop pass by Dwyane Wade, but Whiteside beat him to the ball and finished with authority.

Tough night for KP, but the Knicks had the last laugh. New York broke their eight-game losing streak to the Heat with a 98-90 win.