diff --git a/html/early.js b/html/early.js
index 83fd5cb..0f173c0 100644
--- a/html/early.js
+++ b/html/early.js
@@ -219,6 +219,8 @@ if (typeof document.hidden !== "undefined") { // Opera 12.10 and Firefox 18 and
function handleVisibilityChange() {
if (!document[hidden]) {
fetchData();
+ if (showTrace)
+ return;
if (SelectedPlane)
getTrace(SelectedPlane, SelectedPlane.icao, {});
}