Star railings aren’t see through?

Does anyone know how I can fix this glitch with my railings? It seems like most of them won’t show the space between the railings.