Index: trunk/ppStack/src/ppStackMatch.c
===================================================================
--- trunk/ppStack/src/ppStackMatch.c	(revision 23841)
+++ trunk/ppStack/src/ppStackMatch.c	(revision 23958)
@@ -316,4 +316,6 @@
                 return false;
             }
+
+            fake->mask = psImageCopy(NULL, readout->mask, PS_TYPE_IMAGE_MASK);
 
             // Add the background into the target image
