improved spritesheet edge padding