Previous fix exposed an existing bug where we were using mAnimLayer to determine the highest Surface layer. This fix uses mSurfaceLayer to set the layer limits for making the screenshot. Fixes bug 6586168. Change-Id: Iaa3b43867aef795ca617ff4b8076428dfc91eaf2