Fixing transition to images.