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
Try to avoid using `new` in a tight loop. It is better to reuse an object.