Fix min/max sources in output pics.