Corrects image path