Fix for broken layout if the controls frame changes after it's initialized.