How to drag nodes and windows?