Fix top panel not updated