Tracking clicks on canvas to add tiles