Why doesn't this happen in the real world? Because the defenders are not trying to collapse in goal. Quite the opposite; they are trying to prevent it.