Handling case when the orientation of VR state is null. For some devices...

... the information might not be available and the API will return null
`vrState` is another object you are creating. Why do you need it?