Fix 32bit Windows crash while taking the save screenshot.