Fix bug of tab DnD.

Tab behavior improved.