That's not how tag up offside works. If he had given the puck away and then the player tags up then fine, but at no time does McAvoy lose possession. IF the linesman had seen Kuraly's skates inside the zone he would have blown it dead immediately, because that's an automatic offside. I'll stop now.