Fixed bug in curtain(SVG)