Milan beat Juve amid controversy