fix images filtering so huge numbers of image components are not created