fixed bug with draw animation