fixed some issues with the coordinate retrieving in canvas...now the coordinate detecting works for scolling in canvas too