Fix panel layout asignment