If it is a software issue, then try this:
Rotate them all 90 degrees so the vertical is now horizontal. Then stack them horizontally. If it merges them horizontally, then you can rotate the resultant merge to the vertical after it is complete.

Sent from my SAMSUNG-SM-G870A using Tapatalk