added $spacing variable to sprite-map

The $spacing variable was not being passed to the sprite-map function, so setting $name-spacing had no effect.