Fixes image paths