Fixed miniatures helper bug