Jim Goodwin says Dundee United's defeat to Rangers could have been different in a game where they hit the woodwork three times.