Improved accuracy of hover effects