Bulldogs able to win 'ugly game'