animation with states done with moveto() flaw