Dont show diagnostics if build panel is visible