In iOS 7 the gradient layer needs to be put back at layer 1, it seems.