canvas is activated on mouse press