Fixed bug with enemies trying to fire through the walls