Fix check for orientation/rotation sensors.