Fixed EntityCannon error when an invalid EntityType is entered.