Slight optimization to SpriteSheet.BuildFromGrid().