pdf2swf: fixed problem with dashed lines together with save/restoreState