Fixed SentryGun firing at entities through walls.