fixes image borders