Bug fix for XObject.