added hover event to canvas