Fix image transitions