What is this I'm seeing in my level viewport?

When I exit out of play mode on the First Person Template, I sometimes get this weird fog thing. Is it bug or is it some sort of debug feature? It goes away if I resize or move the window.