Fix image grabbing.