[HOTFIX] Fix dragbox onenddrag.

Close #1344.