فيحتمل أن يكون أراد أنه لا بأس به إذا كان على مثل القلنسوة أو ما اشبهها مما لا يتم الصلاة بها والذي يكشف عما ذكرناه ما رواه
It is possible that what he meant is that there is no problem if it is on something like a cap or something similar, which one does not complete the prayer with. And what clarifies what we have mentioned is what was narrated:
Commentary #3