glass railing disappears when moving further away

The same issue with a simple glass material. Disappears in the distance and work good with a opaque material. I am working on UE5.3 can someone help?