Sprite: Sets margin fallback value from settings.
Fixes #1561.
Merge pull request #1562 from am11/master

Sprite: Sets margin fallback value from settings.