Fix #15: Set orientation to None if it cannot be determined