colorpicker is now working correctly

the colopicker was picking the wrong color if something has been drawn.
this has been fixed.