Fix variant image position when loading for the first time.