Paint: fixed pipette tool for floodfill

thanks, Kartik, for your help!