Billboard gui flickering and dissapearing?

Hi everybody, i just started a new project and i’m making kind of a nextbot npc right now, and i’m modifying the camera to look in a certain perspective.

  1. What is the issue?

the image on the billboard gui keeps dissapearing and flickering when anywhere near the edges of the viewport.

  1. What solutions have you tried so far?

i thought of always on top but i don’t want him to always show even when behind things.