Lee Sangster's victim made a homophobic comment over his choice of drink, Aberdeen Sheriff Court was told.