Fixed a panel-bug