@Selentic: Yeah, sounds a bit confusing. The solution I gave you was a bit of a patch job using one of the new functions for something I did not originally intend it to be used for. I did not get the time to test it properly either and now I’m away for the weekend and cannot test it out myself. I have not seen any such problems in the new update. I will take a closer look when I get back home and figure out if I can find a way to do this that also works for the old AI.
@Mewbits: Glad it worked! I think ideally what happens when you click a tile should not have to be dependent on what is displayed to the player, so I will put this on the list of minor things to be fixed.