Morphological Transitions of Droplets Wetting Rectangular Domains