Bug with a terrain

theres a bug that allows you to see through terrain, how do i prevent that from happening?