Redisplay hidden sublayers before rendering flattened layer to image