There were unsavoury scenes throughout as the American spectators repeatedly crossed the line in their treatment of Rory McIlroy.