Combine directional properties ONLY IF all directions are specified

Fixes #46
Merge pull request #47 from begriffs/fix-margin-bug

Combine directional properties ONLY IF all directions are specified