I can't say that Croatia deserved to win, purely because their keeper was awful, but Brazil certainly didn't deserve to win that. If they play like that against some of the other teams they're going to need a few more questionable refereeing decisions.
Oscar motm.