Yes, it happens with all terrain types. The code needs to check wether an unit is on what kind of terrain and apparently it only works when on an area where 2 terrain types meet.