Updated hit detection