We can't just hardcode this. On huge images in particular, you'll want to increase this value. (cherry picked from commit d71efdec)