Since I'm getting back into the code, I did review this. The tank behavior is cloned from a "medium spitter" entity, so it should be doing whatever a medium spitter would do. This might be influenced by pollution, not sure? Sorry this has been an inconvenience - again, never came up in my personal games because I've just used belts, which can be targeted but in practice don't seem to be a priority.
This is the kind of fix I'd like to make, but I don't know how feasible this is without impacting other things/a big re-write.