Andy Flower has admitted that Ben Stokes' "brilliant" maiden Test hundred at Perth threw England's batting failures into sharp relief.