Fixes image paths.