I agree with you there, I think the VAR was trying to decide if it hit the attacker before that. The deflection you're referring to is what I saw in real time. I'm just not sure that the ball went off the Croatian attacker first. I'm not sure there was enough there to overturn the call on the field.
I say that as someone half Portuguese in heritage.