improved hit detection for bullets and monsters