Towards an explanation of transverse single-spin asymmetries in proton-proton collisions: The role of fragmentation in collinear factorization