fixed svg and png save under nodewebkit