try, shading>harware fog but it only works with the perspective.... i encountered such similar problem, my active viewport no is black how can i change it back to gray???