hotfix for error when targeting plant/object with shield = nil