#3051 layering issues in pies