fixed drag functionality (redraw)