Trail and rotation

I am designe a module for planes. the token are gif image and I would like that the trail not was draw over the unit, and it was down the image in order you can see the image w/o trail lines. but if I change the order or the Trail, Can Rotate and the layers not work properlly. I can do it with the trail in the top. If I put the trail lines in the dawn of the unit, when I rotate the units, then the trail is not visible, it is not deleted bicouse when the unit return to 0º the trial show it again.

Some idea from some Vassal Guru???