Fix the image scaling problem under Android.