fix a view distance issue