Margin: Null checks for CSS pre-processors (#910)

Fixes #910.