changed same-layer blending to replace