Changes to hit detection