Optimize svg with a background layer