83bc7c
--- libwmf-0.2.8.4/src/player/meta.h
83bc7c
+++ libwmf-0.2.8.4/src/player/meta.h
83bc7c
@@ -2585,6 +2585,8 @@
83bc7c
 			polyrect.BR[i] = clip->rects[i].BR;
83bc7c
 		}
83bc7c
 
83bc7c
+		if (FR->region_clip) FR->region_clip (API,&polyrect);
83bc7c
+
83bc7c
 		wmf_free (API,polyrect.TL);
83bc7c
 		wmf_free (API,polyrect.BR);
83bc7c
 	}
83bc7c
@@ -2593,9 +2595,10 @@
83bc7c
 		polyrect.BR = 0;
83bc7c
 
83bc7c
 		polyrect.count = 0;
83bc7c
+	
83bc7c
+		if (FR->region_clip) FR->region_clip (API,&polyrect);
83bc7c
 	}
83bc7c
 
83bc7c
-	if (FR->region_clip) FR->region_clip (API,&polyrect);
83bc7c
 
83bc7c
 	return (changed);
83bc7c
 }