Fixed screenshot taking when upsampling and at unusual ARs