Fix hover event handler