Added click and drag painting.