Using offsets to get accurate canvas click cordinates