Added check to see if any image was found before trying to preload it. Fixes #68