Add sides to dock creation.
Fix issue with selected state on dragging.