Client-side hit detection