Replace non-size PDF with minimal working PDF