messy fix for selecting color while erasing

needs to organize and split up updateDrawing into updateCursor and
updateDrawing