Fix panel configuration to properly limit maximum panel size to half height
Apparently this has been broken ever since adding the spinbox and no one noticed it before.
Apparently this has been broken ever since adding the spinbox and no one noticed it before.