Prevent picking up parts while dragging the window.
some refactoring.
fix translation directions