Found the reason why it need a addition click on undocked window to start dragging now, because there is a additional pointer leave actions have been called on undocked window which disabled dragging, reported bug#12074. For focus issues, reported in bug#12074 too.