Fixes image load