Fix hover quickly switching problem