LastX and LastY initialized when cleaning canvas