XPS: fix bug 694957