Better fix for only loading pattern images that are available.