avoid flickering when showing label in scales