At the game both goals looked offside, Cosgrove is frigging dirty and should be on a second yellow at the minimum
For the first, he was offside when the ball was played to Randall and never got back onside - but I think Randall was slightly ahead of him when he passed it to Cosgrove, therefore putting him back onside
Edit: Apparently Cosgrove credited with the 2nd so therefore goal shouldn't have stood?