Correct for css background size in shape.