fixes the crash when accessing orientation property of the chain.
fixes the crash when accessing orientation property of the chain.

mbbill/sensorfw,lpotter/sensorfw,mbbill/sensorfw,lpotter/sensorfw,lpotter/sensorfw,mbbill/sensorfw,lpotter/sensorfw,mbbill/sensorfw