Use Panel instead of deprecated DebugPanel.