There isn't a solution which is why I disagree with VAR so much. It seeks perfection in a game where you will never find perfection in refereeing decisions. As a few others said, you could probably analyse what went on at that corner and find another 3 or 4 fouls either way. Which ones came first, where do you draw the line? When a goal is scored, VAR is obviously geared to look for fouls that would disallow the goal, so that is mainly what they are focusing on.
It's preferable to have no VAR and accept the decisions of the on field officials as in the Championship and below in my view.