Fixed canvas click handlers to manually set coordinates