It's always possible there is a bug but given the sheer amount of times I've used hover tanks this last week it seems unlikely it's a general bug. More likely you are mistaken that you are on the plain or the unit in question can see through stealth. As noted above Rail guns ignore stealth so they can always attack your unit. It's also possible if you aren't being careful to move your hover tank more than you think when if you are clicking on the enemy to attack it. I've done that a couple of times where I stopped on the plains clicked on an enemy to target it and them my hover tank moved in order to be able to shoot it (and the next area was not plains).