Always setup correct of the width and height of image.