It says much about a team’s lack of ability that they cannot trust their forwards to score from frees.
Let the referee allow an immediate kick-out in reply to a score or a wide, even if the attacking goalkeeper is not yet back between his posts where he belongs. With an immediate kick out the other team can capitalise on an undefended open goal. Deliberate fouling to interrupt this passage of play should incur a straight red card.
That should put an end to the gallop of wandeing goalkeepers.