remove composited layers, ref #523