Fixed visualization bug when using file wildcards