Fixed the Panel Bug