Fixed a bug that the images are not correctly positioned (left and right).