Fixed bug where bullets could pass through walls