Aberdeen boss Craig Brown was critical of his team's defending during the 3-1 defeat by St Johnstone.