Landscape sketching out at distance

For some reason my landscape is disappearing when i am inside this one building, this building does go into the landscape through visibility, but the window portion is out of the mountain wall,when i walk back into the room the outside landscape disappears. Any ideas on how to stop this?