fixed issues related to the image filter samples.