Base: Fix small bugs regarding panel and its actions