attempt to perfect image grabbing