fixed #34 . Changed the method redraw for trace and particle.