Fixed issue where mouse leaving the table left the hover class activated

When the mouse leaves the table, the hover class will be removed.