bug 854441 - prefer downscaling a larger icon rather than upscaling a smaller one, if exact size is not available. r=seth