The commentary records another distinction:
• facing directly toward the prayer leader inside the Ka'bah can be valid;
• doing so without a barrier is disliked.
This differs from turning one's back toward the prayer leader's face, which the source treats as invalid following because of positional precedence.