Fix panel positioning