Fix bug where indicator was hidden incorrectly.