Fix thumbnail resizing after capture