fixed bug in mixDraw