Issue 54

Removed always-true if and unreachable code in XObject.cs