Fix setting panel layout