Sprite: Sets margin fallback value from settings.

Fixes #1561.