If you make your on-canvas toolbox only one column wide (basically as narrow as it goes), it will be forcibly expanded when the toolbox is displayed in the docker box. This is probably because the paragraph “Docker is open in popup palette” has a minimum width.
The paragraph should just overflow or be invisible instead of changing the docker layout.