fixed bug of draging when table's position changed.(issue #79)