Fix hit detection