Small fix for svg rendering script