implemented mouseDragged and fixed pCurCanvas refs