Fix bug: background change timing