Added ability to track mouse clicks on canvas