Detach SettingFrame from MainFrame, solving the SetScale bug