Fix image loader npe