Stop nudging when users drag outside of the window. Fixes #1326