Potential panel flicker fix