Fixed issues with dealing damage to Entities