Bug fix for hover