Fix bug where image is not updated when click variant option