[[ Bug 11397 ]] Fix imageData of resized images being at the wrong scale