Middlesbrough boss Tony Mowbray was left to rue his side's poor luck after they threw away a 2-1 lead to slip to a 3-2 defeat to Barnsley.