added listener on canvas