Implemented usage of repaint sync framework in drag tool.