Fifth-placed Milan remain four points behind the Florence side after losing 2-1 to Sampdoria at the San Siro.