small change to window moving

click on a docked window won't undock it, only when it moves...