Fixed a small bug where enemies would stop shooting at close range.