Fixes #304 - merging multiple backgrounds.
Fixes #312 - merging backgrounds when one property is not repeated.