Fixes issue with image paths