disappearing shadows and objects

How can I prevent objects and shadows from disappearing when I move too far?

thanks