Slight tweak to hover detection.