fix moving with drag and drop