Corrected image scaling