add margins to spritesheet loader