Returned layout settings to their proper state.