Fixed advanced space not submitting.

If OK or Enter were pressed before leaving the horizontal or vertical space textboxes, their values weren't submitted.