Fix quick upload crashes when quick upload resize width is set
(cherry picked from commit 3626d27)